package com.kyb.dao;

import java.util.List;

import com.kyb.entity.Department;

public interface IDepartmentDao {

	/**
	    * @Title: getAllDept
	    * @Description: 得到所有部门信息
	    * @param @return    参数
	    * @return List<Department>    返回类型
	    * @throws
	 */
	List<Department> getAllDept();
	
	/**
	 * 添加部门信息
	 * @param user
	 * @return
	 */
	boolean addDepartment(Department department);
	
	/**
	 * 修改部门信息
	 * @param department
	 * @return
	 */
	boolean updateDepartment(Department department);
	
	
	/**
	 * 删除部门信息
	 * @param user
	 * @return
	 */
	boolean deleteDepartment(String deptId);

	
}
